import Vue from 'vue'
import VueRouter from 'vue-router'
import indexData from '../components/indexData.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/', redirect: '/indexData'
  }
  ,
  {
    path: '/indexData', component: indexData
  }

]

const router = new VueRouter({
  routes
})

export default router
